import http from "@/utils/http";

const OrdersLoginService = {
	/**
	 * /order-accept包登录
	 * @param {*} params
	 * @returns
	 */
	async acceptLoginUserInfo(params) {
		let result = await http({
			url: `${process.env.VUE_APP_CTX_ORDER_ACCEPT}/getLoginUserInfo`,
			params: params,
			method: "GET",
		});
		return result;
	},
	/**
	 * /order-query 包登录
	 * @param {*} params
	 * @returns
	 */
	async queryLoginUserInfo(params) {
		;
		let result = await http({
			url: `${process.env.VUE_APP_CTX_ORDER_QUERY}/getLoginUserInfo`,
			params: params,
			method: "GET",
		});
		;
		return result;
	},
	/**
	 * /order-process 包登录
	 * @param {*} params
	 * @returns
	 */
	async processLoginUserInfo(params) {
		let result = await http({
			url: `${process.env.VUE_APP_CTX_ORDER_PROCESS}/getLoginUserInfo`,
			params: params,
			method: "GET",
		});
		return result;
	},
};
export default OrdersLoginService;
